package com.manage.modules.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.manage.modules.domain.TBaseRepairPhoto;
import com.manage.modules.domain.TBaseServicePhoto;

import java.util.Collection;
import java.util.List;

/**
 * 维修信息现场照片Service接口
 *
 * @author wx
 * @date 2021-09-10
 */
public interface ITBaseRepairPhotoService extends IService<TBaseRepairPhoto> {
    /**
     * 根据维修ID查询
     */
    List<TBaseRepairPhoto> findByRepairId(Long repairId);

    /**
     * 根据维修ID集合删除
     */
    void deleteByRepairIds(Collection<Long> ids);


    void delete(List<TBaseRepairPhoto> photoList);
}
